package org.makcro.sms.services.chat.base.dao;

import org.makcro.sms.services.chat.model.Agent;
import org.makcro.sms.services.chat.model.Question;
import org.makcro.sms.services.chat.model.QuestionResponsibility;

public interface QuestionResponsibilityDao extends BasicDao<QuestionResponsibility>{

	public QuestionResponsibility findByAngentAndQuestion(Agent agent, Question question);

	public QuestionResponsibility findByAngentAndQuestionId(Agent agent, Integer questionId);

	public QuestionResponsibility findByQuestionId(Integer questionId);

	public void deleteByQuestionIdAndAgent(Integer questionId, Agent agent);

}